package com.ipet.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ipet.item.pojo.SPU;

import java.util.List;

public interface SPUService extends IService<SPU> {
    PageInfo<SPU> findAllSPU(Integer pageNo , Integer pageSize);
    PageInfo<SPU> findSPUByTitle(String title , Integer pageNo , Integer pageSize);
    PageInfo<SPU> findSPUBySaleable(Integer title , Integer pageNo , Integer pageSize);
    Integer updateSaleable(Integer saleable , List<String> list);
    Integer deleteSPUBatch(List<String> list);
}
